import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入element-ui组件
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 引入全局样式
import '@/styles/index.scss'

import PublicCom from '@/components/PublicCom.vue'

Vue.use(ElementUI)
Vue.config.productionTip = false
Vue.component('PublicCom', PublicCom)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
